using System;
using Common.Util;
using System.ComponentModel.DataAnnotations.Schema;

namespace Authentication.Model.Model
{
    using System;
    using System.Collections.Generic;

    public partial class ApplicationGroupRule
    {
        [NotMapped]
        public Guid GuidKey { get { return new Guid(this.ApplicationKey); } }

        [NotMapped]
        public bool IsActive { get { return Active.IsYes(); } }

        public ApplicationObject Object { get; set; }
    }
}
